package h_Polymorphism;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package h_Polymorphism
 * @date 2024/3/31 下午1:25
 */
public class Test01 {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.eat();
        dog.lookHome();
        Cat cat = new Cat();
        cat.eat();
        cat.catchMouse();
    }
}
